<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"  %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<s:iterator value="listPhoto" id="list" status="sta">
	<s:if test="#sta.count < 3">
	<img src="<%=basePath%>upload/indexshow/<s:property value="#list[1]"/>" alt="advertisement"/>
	</s:if>
</s:iterator>